<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>智慧职教2.0 | Danyhug's Blog</title><meta name="keywords" content="大饼,Python"><meta name="author" content="Danyhug"><meta name="copyright" content="Danyhug"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta http-equiv="Cache-Control" content="no-transform"><meta http-equiv="Cache-Control" content="no-siteapp"><meta name="description" content="目录结构 README.md Project Model  用于存放类 user.py  用户类 mooc.py  智慧职教类   utils.py  工具类 file.py  文件IO   answerFile 存放文件答案 课程ID work 作业答案 对应答案文件.hpc   test 测验答案 对应答案文件.hpc   exam 考试答案 对应答案文件.hpc   课程名.dhg  存放对">
<meta property="og:type" content="article">
<meta property="og:title" content="智慧职教2.0">
<meta property="og:url" content="http://danyhug.gitee.io/blog/2021/01/30/%E6%99%BA%E6%85%A7%E8%81%8C%E6%95%992-0%E5%87%86%E5%A4%87%E5%B7%A5%E4%BD%9C/index.html">
<meta property="og:site_name" content="Danyhug&#39;s Blog">
<meta property="og:description" content="目录结构 README.md Project Model  用于存放类 user.py  用户类 mooc.py  智慧职教类   utils.py  工具类 file.py  文件IO   answerFile 存放文件答案 课程ID work 作业答案 对应答案文件.hpc   test 测验答案 对应答案文件.hpc   exam 考试答案 对应答案文件.hpc   课程名.dhg  存放对">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="http://danyhug.gitee.io/blog/img/bgimg/2.jpg">
<meta property="article:published_time" content="2021-01-30T11:54:28.000Z">
<meta property="article:modified_time" content="2021-06-19T08:50:14.145Z">
<meta property="article:author" content="Danyhug">
<meta property="article:tag" content="大饼">
<meta property="article:tag" content="Python">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="http://danyhug.gitee.io/blog/img/bgimg/2.jpg"><link rel="shortcut icon" href="/blog/img/favicon.png"><link rel="canonical" href="http://danyhug.gitee.io/blog/2021/01/30/%E6%99%BA%E6%85%A7%E8%81%8C%E6%95%992-0%E5%87%86%E5%A4%87%E5%B7%A5%E4%BD%9C/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/blog/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><script>var GLOBAL_CONFIG = { 
  root: '/blog/',
  algolia: undefined,
  localSearch: undefined,
  translate: undefined,
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '天',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'fancybox',
  Snackbar: undefined,
  source: {
    jQuery: 'https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js',
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/js/jquery.justifiedGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/css/justifiedGallery.min.css'
    },
    fancybox: {
      js: 'https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.js',
      css: 'https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: false,
  isanchor: false
};

var saveToLocal = {
  set: function setWithExpiry(key, value, ttl) {
    const now = new Date()
    const expiryDay = ttl * 86400000
    const item = {
      value: value,
      expiry: now.getTime() + expiryDay,
    }
    localStorage.setItem(key, JSON.stringify(item))
  },

  get: function getWithExpiry(key) {
    const itemStr = localStorage.getItem(key)

    if (!itemStr) {
      return undefined
    }
    const item = JSON.parse(itemStr)
    const now = new Date()

    if (now.getTime() > item.expiry) {
      localStorage.removeItem(key)
      return undefined
    }
    return item.value
  }
}

// https://stackoverflow.com/questions/16839698/jquery-getscript-alternative-in-native-javascript
const getScript = url => new Promise((resolve, reject) => {
  const script = document.createElement('script')
  script.src = url
  script.async = true
  script.onerror = reject
  script.onload = script.onreadystatechange = function() {
    const loadState = this.readyState
    if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
    script.onload = script.onreadystatechange = null
    resolve()
  }
  document.head.appendChild(script)
})</script><script id="config_change">var GLOBAL_CONFIG_SITE = { 
  isPost: true,
  isHome: false,
  isHighlightShrink: false,
  isToc: true,
  postUpdate: '2021-06-19 16:50:14'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(function () {  window.activateDarkMode = function () {
    document.documentElement.setAttribute('data-theme', 'dark')
    if (document.querySelector('meta[name="theme-color"]') !== null) {
      document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
    }
  }
  window.activateLightMode = function () {
    document.documentElement.setAttribute('data-theme', 'light')
   if (document.querySelector('meta[name="theme-color"]') !== null) {
      document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
    }
  }
  const autoChangeMode = 'false'
  const t = saveToLocal.get('theme')
  if (autoChangeMode === '1') {
    const isDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches
    const isLightMode = window.matchMedia('(prefers-color-scheme: light)').matches
    const isNotSpecified = window.matchMedia('(prefers-color-scheme: no-preference)').matches
    const hasNoSupport = !isDarkMode && !isLightMode && !isNotSpecified
    if (t === undefined) {
      if (isLightMode) activateLightMode()
      else if (isDarkMode) activateDarkMode()
      else if (isNotSpecified || hasNoSupport) {
        const now = new Date()
        const hour = now.getHours()
        const isNight = hour <= 6 || hour >= 18
        isNight ? activateDarkMode() : activateLightMode()
      }
      window.matchMedia('(prefers-color-scheme: dark)').addListener(function (e) {
        if (saveToLocal.get('theme') === undefined) {
          e.matches ? activateDarkMode() : activateLightMode()
        }
      })
    } else if (t === 'light') activateLightMode()
    else activateDarkMode()
  } else if (autoChangeMode === '2') {
    const now = new Date()
    const hour = now.getHours()
    const isNight = hour <= 6 || hour >= 18
    if (t === undefined) isNight ? activateDarkMode() : activateLightMode()
    else if (t === 'light') activateLightMode()
    else activateDarkMode()
  } else {
    if (t === 'dark') activateDarkMode()
    else if (t === 'light') activateLightMode()
  }const asideStatus = saveToLocal.get('aside-status')
if (asideStatus !== undefined) {
   if (asideStatus === 'hide') {
     document.documentElement.classList.add('hide-aside')
   } else {
     document.documentElement.classList.remove('hide-aside')
   }
}const fontSizeVal = saveToLocal.get('global-font-size')
if (fontSizeVal !== undefined) {
  document.documentElement.style.setProperty('--global-font-size', fontSizeVal + 'px')
}})()</script><meta name="generator" content="Hexo 5.3.0"></head><body><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="author-avatar"><img class="avatar-img" src="http://q1.qlogo.cn/g?b=qq&amp;nk=153669225&amp;s=100" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="site-data"><div class="data-item is-center"><div class="data-item-link"><a href="/blog/archives/"><div class="headline">文章</div><div class="length-num">33</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/blog/tags/"><div class="headline">标签</div><div class="length-num">18</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/blog/categories/"><div class="headline">分类</div><div class="length-num">5</div></a></div></div></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/blog/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/blog/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/blog/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/blog/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/blog/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div></div></div><div id="body-wrap"><header class="post-bg" id="page-header" style="background-image: url(/blog/img/bgimg/2.jpg)"><nav id="nav"><span id="blog_name"><a id="site-name" href="/blog/">Danyhug's Blog</a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="/blog/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/blog/archives/"><i class="fa-fw fas fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/blog/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/blog/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/blog/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="post-info"><h1 class="post-title">智慧职教2.0</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2021-01-30T11:54:28.000Z" title="发表于 2021-01-30 19:54:28">2021-01-30</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2021-06-19T08:50:14.145Z" title="更新于 2021-06-19 16:50:14">2021-06-19</time></span><span class="post-meta-categories"><span class="post-meta-separator">|</span><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/blog/categories/%E6%99%BA%E6%85%A7%E8%81%8C%E6%95%99/">智慧职教</a></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span class="post-meta-pv-cv"><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">阅读量:</span><span id="busuanzi_value_page_pv"></span></span></div></div></div></header><main class="layout" id="content-inner"><div id="post"><article class="post-content" id="article-container"><h2 id="目录结构"><a href="#目录结构" class="headerlink" title="目录结构"></a>目录结构</h2><ul>
<li>README.md</li>
<li>Project<ul>
<li>Model  用于存放类<ul>
<li>user.py  用户类</li>
<li>mooc.py  智慧职教类</li>
</ul>
</li>
<li>utils.py  工具类</li>
<li>file.py  文件IO</li>
</ul>
</li>
<li>answerFile 存放文件答案<ul>
<li>课程ID<ul>
<li>work 作业答案<ul>
<li>对应答案文件.hpc</li>
</ul>
</li>
<li>test 测验答案<ul>
<li>对应答案文件.hpc</li>
</ul>
</li>
<li>exam 考试答案<ul>
<li>对应答案文件.hpc</li>
</ul>
</li>
<li>课程名.dhg  存放对应的测验名+测验ID</li>
</ul>
</li>
</ul>
</li>
<li>Conf 配置文件</li>
<li>main.py 主程序</li>
</ul>
<h2 id="程序执行"><a href="#程序执行" class="headerlink" title="程序执行"></a>程序执行</h2><ol>
<li>输入账号密码验证码，登录</li>
<li>获取当前账号所有未完成的课程，等待用户输入选择的课程</li>
<li>将选中课程的测验全部输出，等待用户输入功能</li>
<li>两个功能<ol>
<li>获取答案<ol>
<li>延迟结束后直接提交当前测验</li>
<li>保存答案到指定目录</li>
<li>跳转到 顶层2</li>
</ol>
</li>
<li>开始做题<ol>
<li>读取指定目录文件</li>
<li>对比配置文件与当前课程是否重合<ol>
<li>不重合<ul>
<li>进入下一轮对比</li>
</ul>
</li>
<li>重合<ol>
<li>从文件中读取当前课程所有测验答案</li>
<li>答案全部获取后，将答案按照测验拆分开</li>
<li>一个测验一个测验提交答案并保存</li>
<li>跳转到 顶层2<h2 id="未来畅想"><a href="#未来畅想" class="headerlink" title="未来畅想"></a>未来畅想</h2></li>
</ol>
</li>
</ol>
</li>
</ol>
</li>
</ol>
</li>
</ol>
<ul>
<li><p>钱是一定要收的，目前能想到以下几种收钱方式</p>
<ol>
<li>买断制，软件绑定机器，从我这里买完机器码后即可永久使用</li>
<li>积分制，使用软件前先注册账号，会送一定积分，每做一套课程会收取一定积分</li>
<li>捐赠制，免费发布到网上，配上一张我的收款码，等待有人捐赠</li>
<li>用爱发电制，作为21世纪的青年，崇尚白嫖主义，免费开源发到网上，无捐赠通道</li>
</ol>
</li>
<li><p>考虑到答案获取有一定门槛，同时答案文件夹不绑定用户，所以有以下畅想</p>
<ul>
<li>用户每获取一个答案，将答案同步上传到我的服务器，之后做一个积分下载，赚两份钱</li>
<li>用户每获取一个答案，询问是否同意上传至服务器，同意后上传，并附赠相应积分</li>
<li>手动提交答案<h2 id="版本更新"><a href="#版本更新" class="headerlink" title="版本更新"></a>版本更新</h2></li>
</ul>
</li>
<li><p>2020-12-27 - 2021-01-27    <strong>内测 v1.0.0</strong></p>
<ul>
<li>从最初确定做到做完，耗时不短，但抛去打游戏以及其他的事，总用时不到一周</li>
<li>除填空题外功能全部完成</li>
<li>准备将填空功能完善，但是代码写的太乱，又花了两天时间去打王者，再看代码已经90%看不懂，填空功能无所下手</li>
<li>历经三天，在一边抱怨这代码是碳基生物能写出来的并见识到智慧职教平台的”先进”之处中，无奈承认做不出填空功能，同时因为代码没有备份，原本其他可用的功能也全部失效，1.0版本宣布大失败</li>
<li>在考虑过代码的维护性后，决定用少量旧代码做一个全新的2.0版本</li>
</ul>
</li>
<li><p>2021-01-30 - 2021-02-03    <strong>内测 v2.0.0</strong></p>
<ul>
<li><p>小规模内测</p>
</li>
<li><p>历时四天左右，基本功能全部完成但未完善</p>
</li>
<li><h4 id="BUG"><a href="#BUG" class="headerlink" title="BUG"></a>BUG</h4><ul>
<li>在执行过开始答题后，执行其他功能会直接退出    <font color=#0099ff><strong>21/02/05 已修复</strong></font></li>
<li>useLocalGetAnswer函数目前正常，但总觉得会出问题</li>
<li>在账号被封禁后，无法访问除登录以外的接口，程序会因为无法解析JSON抛出异常</li>
</ul>
</li>
</ul>
</li>
<li><p>2021-02-06    <strong>内测 v2.1.1</strong></p>
<ul>
<li><p>填空功能已完成</p>
</li>
<li><h4 id="BUG-1"><a href="#BUG-1" class="headerlink" title="BUG"></a>BUG</h4><ul>
<li>因为验证码在登录功能前获取，有几率因为时间的误差导致登录失败    <font color=#0099ff><strong>21/02/09 已修复</strong></font></li>
<li>文件做答题做不了，类型为10</li>
<li>单选题答案在选项多于4个时会报错    <font color=#0099ff><strong>21/02/09 已修复</strong></font></li>
</ul>
</li>
</ul>
</li>
<li><p>2021-03-04    <strong>v2.1.1</strong></p>
<ul>
<li><pre><code>&lt;font color=red&gt;正式发布在吾爱破解论坛和酷安上&lt;/font&gt;
</code></pre>
</li>
</ul>
</li>
<li><p>2021-03-07    <strong>v2.3.4</strong></p>
<ul>
<li><p>现在可以做匹配题了</p>
</li>
<li><p>现在可以做阅读理解了</p>
</li>
<li><p>修复一些小问题</p>
<ul>
<li>获取答案时，若本地已有答案，则不重新保存在本地</li>
<li>答题时，若该测验的分数已为100分，跳过本测验</li>
</ul>
</li>
<li><h4 id="BUG-2"><a href="#BUG-2" class="headerlink" title="BUG"></a>BUG</h4><ul>
<li>选择要完成的课程时，因为输入问题导致的下标越界会导致程序异常退出    <font color=#0099ff><strong>21/03/07 已修复</strong></font></li>
<li>做题接口除了uid还应有一个连线码，防止反编译后盗刷    <font color=#0099ff><strong>21/03/27 已修复，但因为更新后旧版本无法使用，故暂不发布</strong></font></li>
<li>登录后获取当前版本，用于统计</li>
</ul>
</li>
</ul>
</li>
<li><p>2021-03-27    <strong>v2.4.6</strong></p>
<ul>
<li>用户在使用连线码登录后会在数据库中更新当前使用的版本，利于统计，当70%的用户更新了此版本后，服务端同步防止盗刷功能    <font color=#0099ff><strong>21/05/23 已同步，44%用户更新至2.4.6版本以上</strong></font></li>
<li><h4 id="BUG-3"><a href="#BUG-3" class="headerlink" title="BUG"></a>BUG</h4><ul>
<li>使用WPS看图查看验证码时，不关闭图片会阻塞下面的程序运行    <font color=#0099ff><strong>21/03/27 已修复</strong></font></li>
<li>当测验的名称一样时，后面的测验答案会覆盖掉前面的    <font color=#0099ff><strong>21/03/29 已修复</strong></font></li>
</ul>
</li>
</ul>
</li>
<li><p>2021-03-27    <strong>v2.4.7</strong></p>
<ul>
<li><p>修复bug</p>
</li>
<li><h4 id="BUG-4"><a href="#BUG-4" class="headerlink" title="BUG"></a>BUG</h4><ul>
<li>满分测验跳过后还会延迟再执行    <font color=#0099ff><strong>21/04/04 已修复</strong></font></li>
<li>修复一个逻辑问题，获取答案时先检测本地是否有答案，再检测是否可做，意义不大    <font color=#0099ff><strong>21/04/11 已修复</strong></font></li>
<li>本地没有答案时，输入2开始答题还是会遍历答题，但是因为没有答案，全部跳过    <font color=#0099ff><strong>21/04/12 已修复</strong></font></li>
</ul>
</li>
</ul>
</li>
<li><p>2021-04-15    <font color=red><strong>内测v3.0.0 和 v2.4.10合并发布</strong></font></p>
<ul>
<li><p>新增功能：观看视频</p>
</li>
<li><p>新增功能：观看Word文档</p>
</li>
<li><p>新增功能：观看PPT幻灯片</p>
</li>
<li><p>新增功能：观看Flash动画</p>
</li>
<li><h4 id="BUG-5"><a href="#BUG-5" class="headerlink" title="BUG"></a>BUG</h4><ul>
<li>修复BUG，获取答案时，检测到可用次数不足自动跳过，实际上无需跳过，直接获取即可<font color=#0099ff><strong>21/04/18 已修复</strong></font></li>
<li>智慧职教的前端提交方式从字符串改为json提交，导致做填空题时会提示格式出错    <font color=#0099ff><strong>21/04/18 已修复</strong></font></li>
<li>获取过期作业答案会停止程序运行    <font color=#0099ff><strong>21/04/19 已修复</strong></font></li>
<li>不能正常完成讨论任务    <font color=#0099ff><strong>21/04/20 已修复</strong></font></li>
</ul>
</li>
</ul>
</li>
<li><p>2021-04-20    <strong>v3.0.1</strong></p>
<ul>
<li>版本号应该为302，但感觉修补内容太少，就和301合并了</li>
<li><h4 id="BUG-6"><a href="#BUG-6" class="headerlink" title="BUG"></a>BUG</h4><ul>
<li>获取视频时间错误时，直接退出程序，现在修改为获取错误时使用默认时间1200    <font color=#0099ff><strong>21/04/24 已修复</strong></font></li>
<li>修改跳过逻辑，先检测是否为满分，再检测是否有次数    <font color=#0099ff><strong>21/04/25 已修复</strong></font></li>
</ul>
</li>
</ul>
</li>
<li><p>2021-04-26    <strong>v3.1.0</strong></p>
<ul>
<li><strong>累计用户突破1000</strong></li>
<li>修正如上BUG</li>
<li>修正版本号，x.1.0意味着这回可以完成讨论任务了</li>
</ul>
</li>
<li><p>2021-05-01    <strong>v3.1.1</strong></p>
<ul>
<li>劳动人民最光荣！</li>
<li><h4 id="BUG-7"><a href="#BUG-7" class="headerlink" title="BUG"></a>BUG</h4><ul>
<li>错误的完成了文件作答题    <font color=#0099ff><strong>21/05/01 已修复</strong></font></li>
</ul>
</li>
</ul>
</li>
<li><p>2021-05-03    <strong>v3.2.1</strong></p>
<ul>
<li>修复了N个版本的遗留问题，获取答案长度的数组选错了，一直获取的本模块测验数</li>
</ul>
</li>
<li><p>2021-05-06    <strong>v3.3.0</strong></p>
<ul>
<li><p>修复考试模块无法完成阅读理解的BUG</p>
</li>
<li><h4 id="BUG-8"><a href="#BUG-8" class="headerlink" title="BUG"></a>BUG</h4><ul>
<li>智慧职教好像出了问题，经常返回空响应，尝试用try来修复    <font color=#00ff99><strong>21/05/11 未完全修复</strong></font></li>
<li>考试模块正常完成阅读理解，但测试和作业会报错    <font color=#0099ff><strong>21/05/11 已修复</strong></font></li>
</ul>
</li>
</ul>
</li>
<li><p>2021-05-11    <strong>v3.3.3</strong></p>
<ul>
<li>更改请求头，尝试解决空响应的问题</li>
<li>修复如上BUG</li>
<li><h4 id="BUG-9"><a href="#BUG-9" class="headerlink" title="BUG"></a>BUG</h4><ul>
<li>因为所有的时间都是获取时间+10s，所以导致用本软件刷课的人时间会完全一样，待修复</li>
<li>修复带特殊符号的文件名会导致程序OSError异常的问题    <font color=#0099ff><strong>21/05/13 已修复</strong></font></li>
<li>修复考试模块的填空题无法完成的问题    <font color=#0099ff><strong>21/05/13 已修复</strong></font></li>
</ul>
</li>
</ul>
</li>
<li><p>2021-05-13    <strong>v3.3.5</strong></p>
<ul>
<li>下调随机延迟时间</li>
<li>新增检测新版功能，但不会自动更新</li>
</ul>
</li>
<li><p>2021-05-18    <strong>v3.3.6</strong></p>
<ul>
<li><p>尝试修复异常退出的问题</p>
</li>
<li><h4 id="BUG-10"><a href="#BUG-10" class="headerlink" title="BUG"></a>BUG</h4><ul>
<li>测验作业中阅读理解的多选题会导致程序异常退出 (int(1,2,3)抛出异常)    <font color=#0099ff><strong>21/05/18 已修复</strong></font></li>
</ul>
</li>
</ul>
</li>
<li><p>2021-05-23    <strong>v3.3.7</strong></p>
<ul>
<li><h4 id="BUG-11"><a href="#BUG-11" class="headerlink" title="BUG"></a>BUG</h4><ul>
<li>子模块节点进度100%实际上还有未完成的，严格来说这个是智慧职教的bug    <font color=#0099ff><strong>21/05/23 已修复</strong></font></li>
<li>课程名中带有特殊字符时，在初始化配置文件时会出错    <font color=#0099ff><strong>21/05/26 已修复</strong></font></li>
</ul>
</li>
</ul>
</li>
<li><p>2021-05-27    <strong>v3.3.9</strong></p>
<ul>
<li>有无答案的题时会在答题完后再次提醒一次</li>
</ul>
</li>
<li><p>2021-06-01    <strong>v3.4.0</strong></p>
<ul>
<li><p>现在验证码输入错误时不会直接退出程序了</p>
</li>
<li><p>版本更新规则：</p>
<ul>
<li>大功能更新<strong>X.0.0</strong></li>
<li>功能更新或十个bug修复<strong>0.X.0</strong></li>
<li>BUG修复<strong>0.0.X</strong></li>
</ul>
</li>
<li><h4 id="BUG-12"><a href="#BUG-12" class="headerlink" title="BUG"></a>BUG</h4><ul>
<li>修复一百个测验后的测验无法完成的问题    <font color=#0099ff><strong>21/06/01 已修复</strong></font></li>
</ul>
</li>
</ul>
</li>
<li><p>2021-06-01    <strong>v3.4.1</strong></p>
<ul>
<li><h4 id="BUG-13"><a href="#BUG-13" class="headerlink" title="BUG"></a>BUG</h4><ul>
<li>修复测验无正确答案会导致闪退的问题    <font color=#0099ff><strong>21/06/01 已修复</strong></font></li>
</ul>
</li>
</ul>
</li>
<li><p>2021-06-03    <strong>v3.4.2</strong></p>
<ul>
<li><h4 id="BUG-14"><a href="#BUG-14" class="headerlink" title="BUG"></a>BUG</h4><ul>
<li>考试中的文件做答题还会正常提交，应该跳过后不提交</li>
<li>文件名中有:时，不会抛出OSError异常，导致匹配字符语句无法起到作用；现在文件名无论是否有特殊字符，都会进行一遍正则匹配，虽然会消耗一些性能，但这是最完美的解决方法    <font color=#0099ff><strong>21/06/11 已修复</strong></font></li>
<li>现在答题时碰到已超时的题目会正常提示，不会再混为一谈，提示无答案了    <font color=#0099ff><strong>21/06/11 已修复</strong></font></li>
</ul>
</li>
</ul>
</li>
<li><p>2021-06-11    <strong>v3.4.4</strong></p>
<ul>
<li>截止6月19日16时30分，软件总注册人数2635人，小程序端访问人数3273人<ul>
<li>配合PC端使用人数1429人，为总人数的54%，抛弃重复注册用户，约为55%-58%</li>
<li>活跃用户（版本V3.0.0及以上）为1128人，占PC端用户79%，占总用户的43%</li>
</ul>
</li>
</ul>
</li>
</ul>
</article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta">文章作者: </span><span class="post-copyright-info"><a href="mailto:undefined">Danyhug</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta">文章链接: </span><span class="post-copyright-info"><a href="http://danyhug.gitee.io/blog/2021/01/30/%E6%99%BA%E6%85%A7%E8%81%8C%E6%95%992-0%E5%87%86%E5%A4%87%E5%B7%A5%E4%BD%9C/">http://danyhug.gitee.io/blog/2021/01/30/智慧职教2-0准备工作/</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta">版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来自 <a href="http://danyhug.gitee.io/blog" target="_blank">Danyhug's Blog</a>！</span></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/blog/tags/%E5%A4%A7%E9%A5%BC/">大饼</a><a class="post-meta__tags" href="/blog/tags/Python/">Python</a></div><div class="post_share"><div class="social-share" data-image="/blog/img/bgimg/2.jpg" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/social-share.js/dist/css/share.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/social-share.js/dist/js/social-share.min.js" defer></script></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-left"><a href="/blog/2021/02/24/%E6%B6%85%E6%99%AEMISC01-%E5%9B%BE%E7%89%87%E9%9A%90%E5%86%99/"><img class="prev-cover" src="/blog/img/bgimg/1.jpg" onerror="onerror=null;src='/blog/img/404.jpg'" alt="cover of previous post"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">涅普MISC01-图片隐写</div></div></a></div><div class="next-post pull-right"><a href="/blog/2021/01/14/GCC%E6%9E%84%E5%BB%BA%E6%96%87%E4%BB%B6%E8%BF%87%E7%A8%8B/"><img class="next-cover" src="/blog/img/bgimg/4.jpg" onerror="onerror=null;src='/blog/img/404.jpg'" alt="cover of next post"><div class="pagination-info"><div class="label">下一篇</div><div class="next_info">GCC构建文件过程</div></div></a></div></nav><div class="relatedPosts"><div class="headline"><i class="fas fa-thumbs-up fa-fw"></i><span> 相关推荐</span></div><div class="relatedPosts-list"><div><a href="/blog/2020/12/28/英雄联盟梗百科/" title="英雄联盟梗百科"><img class="cover" src="/blog/img/bgimg/4.jpg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2020-12-28</div><div class="title">英雄联盟梗百科</div></div></a></div><div><a href="/blog/2020/12/28/开始/" title="开始"><img class="cover" src="/blog/img/image-7.png" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2020-12-28</div><div class="title">开始</div></div></a></div><div><a href="/blog/2020/12/30/智慧职教刷课预备工作/" title="智慧职教刷课预备工作"><img class="cover" src="/blog/img/bgimg/1.jpg" alt="cover"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2020-12-30</div><div class="title">智慧职教刷课预备工作</div></div></a></div></div></div></div><div class="aside_content" id="aside_content"><div class="card-widget card-info"><div class="card-content"><div class="card-info-avatar is-center"><img class="avatar-img" src="http://q1.qlogo.cn/g?b=qq&amp;nk=153669225&amp;s=100" onerror="this.onerror=null;this.src='/blog/img/friend_404.gif'" alt="avatar"/><div class="author-info__name">Danyhug</div><div class="author-info__description"></div></div><div class="card-info-data"><div class="card-info-data-item is-center"><a href="/blog/archives/"><div class="headline">文章</div><div class="length-num">33</div></a></div><div class="card-info-data-item is-center"><a href="/blog/tags/"><div class="headline">标签</div><div class="length-num">18</div></a></div><div class="card-info-data-item is-center"><a href="/blog/categories/"><div class="headline">分类</div><div class="length-num">5</div></a></div></div><a class="button--animated" id="card-info-btn" target="_blank" rel="noopener" href="https://gitee.com/danyhug"><i class="fab fa-github"></i><span>Follow Me</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="https://gitee.com/danyhug" target="_blank" title="Gitee"><i class="fab fa-github"></i></a><a class="social-icon" href="mailto:danyhug@qq.com" target="_blank" title="Email"><i class="fas fa-envelope"></i></a></div></div></div><div class="card-widget card-announcement"><div class="card-content"><div class="item-headline"><i class="fas fa-bullhorn card-announcement-animation"></i><span>公告</span></div><div class="announcement_content">This is my Blog</div></div></div><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="card-content"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#%E7%9B%AE%E5%BD%95%E7%BB%93%E6%9E%84"><span class="toc-number">1.</span> <span class="toc-text">目录结构</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E7%A8%8B%E5%BA%8F%E6%89%A7%E8%A1%8C"><span class="toc-number">2.</span> <span class="toc-text">程序执行</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E6%9C%AA%E6%9D%A5%E7%95%85%E6%83%B3"><span class="toc-number">3.</span> <span class="toc-text">未来畅想</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E7%89%88%E6%9C%AC%E6%9B%B4%E6%96%B0"><span class="toc-number">4.</span> <span class="toc-text">版本更新</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#BUG"><span class="toc-number">4.0.1.</span> <span class="toc-text">BUG</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#BUG-1"><span class="toc-number">4.0.2.</span> <span class="toc-text">BUG</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#BUG-2"><span class="toc-number">4.0.3.</span> <span class="toc-text">BUG</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#BUG-3"><span class="toc-number">4.0.4.</span> <span class="toc-text">BUG</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#BUG-4"><span class="toc-number">4.0.5.</span> <span class="toc-text">BUG</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#BUG-5"><span class="toc-number">4.0.6.</span> <span class="toc-text">BUG</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#BUG-6"><span class="toc-number">4.0.7.</span> <span class="toc-text">BUG</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#BUG-7"><span class="toc-number">4.0.8.</span> <span class="toc-text">BUG</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#BUG-8"><span class="toc-number">4.0.9.</span> <span class="toc-text">BUG</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#BUG-9"><span class="toc-number">4.0.10.</span> <span class="toc-text">BUG</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#BUG-10"><span class="toc-number">4.0.11.</span> <span class="toc-text">BUG</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#BUG-11"><span class="toc-number">4.0.12.</span> <span class="toc-text">BUG</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#BUG-12"><span class="toc-number">4.0.13.</span> <span class="toc-text">BUG</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#BUG-13"><span class="toc-number">4.0.14.</span> <span class="toc-text">BUG</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#BUG-14"><span class="toc-number">4.0.15.</span> <span class="toc-text">BUG</span></a></li></ol></li></ol></li></ol></div></div></div><div class="card-widget card-recent-post"><div class="card-content"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/blog/2021/05/09/jQuery%E7%9A%84%E4%B8%80%E4%BA%9B%E6%93%8D%E4%BD%9C/" title="jQuery的一些操作"><img src="/blog/img/bgimg/6.jpg" onerror="this.onerror=null;this.src='/blog/img/404.jpg'" alt="jQuery的一些操作"/></a><div class="content"><a class="title" href="/blog/2021/05/09/jQuery%E7%9A%84%E4%B8%80%E4%BA%9B%E6%93%8D%E4%BD%9C/" title="jQuery的一些操作">jQuery的一些操作</a><time datetime="2021-05-09T02:43:29.000Z" title="发表于 2021-05-09 10:43:29">2021-05-09</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/blog/2021/04/29/%E8%BD%AE%E6%92%AD%E5%9B%BE%E7%9A%84%E5%AE%9E%E7%8E%B0/" title="轮播图的实现"><img src="/blog/img/bgimg/1.jpg" onerror="this.onerror=null;this.src='/blog/img/404.jpg'" alt="轮播图的实现"/></a><div class="content"><a class="title" href="/blog/2021/04/29/%E8%BD%AE%E6%92%AD%E5%9B%BE%E7%9A%84%E5%AE%9E%E7%8E%B0/" title="轮播图的实现">轮播图的实现</a><time datetime="2021-04-29T08:10:46.000Z" title="发表于 2021-04-29 16:10:46">2021-04-29</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/blog/2021/04/23/MYSQL/" title="MYSQL"><img src="/blog/img/bgimg/9.jpg" onerror="this.onerror=null;this.src='/blog/img/404.jpg'" alt="MYSQL"/></a><div class="content"><a class="title" href="/blog/2021/04/23/MYSQL/" title="MYSQL">MYSQL</a><time datetime="2021-04-23T12:22:02.000Z" title="发表于 2021-04-23 20:22:02">2021-04-23</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/blog/2021/03/17/CSS%E6%8A%80%E5%B7%A7/" title="CSS技巧"><img src="/blog/img/bgimg/4.jpg" onerror="this.onerror=null;this.src='/blog/img/404.jpg'" alt="CSS技巧"/></a><div class="content"><a class="title" href="/blog/2021/03/17/CSS%E6%8A%80%E5%B7%A7/" title="CSS技巧">CSS技巧</a><time datetime="2021-03-17T04:25:15.000Z" title="发表于 2021-03-17 12:25:15">2021-03-17</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/blog/2021/02/24/%E6%B6%85%E6%99%AEMISC01-%E5%9B%BE%E7%89%87%E9%9A%90%E5%86%99/" title="涅普MISC01-图片隐写"><img src="/blog/img/bgimg/1.jpg" onerror="this.onerror=null;this.src='/blog/img/404.jpg'" alt="涅普MISC01-图片隐写"/></a><div class="content"><a class="title" href="/blog/2021/02/24/%E6%B6%85%E6%99%AEMISC01-%E5%9B%BE%E7%89%87%E9%9A%90%E5%86%99/" title="涅普MISC01-图片隐写">涅普MISC01-图片隐写</a><time datetime="2021-02-24T03:29:38.000Z" title="发表于 2021-02-24 11:29:38">2021-02-24</time></div></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2021 By Danyhug</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="font-plus" type="button" title="放大字体"><i class="fas fa-plus"></i></button><button id="font-minus" type="button" title="缩小字体"><i class="fas fa-minus"></i></button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/blog/js/utils.js"></script><script src="/blog/js/main.js"></script><div class="js-pjax"><script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div><script defer id="ribbon" src="http://danyhug.gitee.io/blog/js/canvas-ribbon.min.js" size="150" alpha="0.6" zindex="-1" mobile="true" data-click="true"></script></div></body></html>